OTGetProviderPortRef
Identifies the port associated with a given provider.
C INTERFACE
OTPortRef OTGetProviderPortRef(ProviderRef ref);
C++ INTERFACE
OTPortRef TProvider::GetOTPortRef();
PARAMETERS
ref
- The provider for which you wish to obtain the port.
- function result
- See Discussion.
DISCUSSION
The OTGetProviderPortRef function returns the port reference for the provider identified by the ref parameter. If the function returns kOTInvalidPortRef, then either no port was associated with this provider or there were multiple associated ports and Open Transport did not know which to return.